package String类编程题;

import java.util.Scanner;

public class Question1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("Enter your email address: ");
        String email = in.nextLine();
        if(email.contains("@") && email.contains("."))
            System.out.println("Valid Email Address!");
        else
            System.out.println("Invalid Email Address!");
    }
}
